import java.io.Serializable;

class CardSuit implements Serializable{
  	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	static final int CLUB = 1;
  	static final int DIAMOND = 2;
  	static final int HEART = 3;
  	static final int SPADE = 4;
  	int suitValue;

  	CardSuit(int i) {
		  suitValue = i;
  	}

  	public String toString() {
  	  switch (suitValue) {
  	    case CLUB:
  	    	return "Club";
  	    case DIAMOND:
  	    	return "Diamond";
  	    case HEART:
  	    	return "Heart";
  	    case SPADE:
  	    	return "Spade";
  	    default:
  	    	return "error";
  	  }
  	}
 }

